add pagination to resource if present
up version