update slider ranges