update for resizing