update for scrollbar