Update OpenDocument.php