Update scroller code