```validate_doc_update``` moved from views to root