update slider in UI