updating with scrolling layout