update document for mac