update cfg for mac