update for MacOSX