update for vertical offset