update slider