Cached runtime context should be updated for the next block when there is a `System.CodeUpdated` event