Update Document.php