update for different os