modify document details and page file request handlers for integration with updated front-end code