change method "scroll" to "update"