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

```validate_doc_update``` was located in ```views``` which was confusing