add (update) commands for Mac & Linux