update slide method