updated the limit and offset to be required to be set