Refactor init_request() and update_request() in recording_collection into one function to fix #154.