update mac config