useing to update server