fixed server updater function