update config file on OS X