update OSX part to ARC