split apart get_page into get_page and update_page_status