update for zooming