move e_shoff update upwards