update  sliding