better updater
fix bug because of different directory for windows