Update document properties