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

In documentation ```validate_doc_update``` was located in ```views``` which was confusing.