Updating the document of variable's changes