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

Signed-off-by: Alexander Shorin <kxepal@apache.org>
Fix formatting