validate_doc..
validate doc update nearly done