fix error with empty validate_doc_update functions if whey weren’t specified