update documents for client_id, pagination, authentication