fixed server updating bug