update new limit and offset