add modify for mac