update slide effect