updated the teamwork api to handle paged content