update for pi and seperated pi and windows