Update query to add limit and page number.