update main windows fiexed