update for win and mac