Update for mac os x