update doc for mac