update scroll and back