updating routes so pagination is not cached