Integration validation function
update document