update for mac and win