update sliding