update for windows/unix