update server functions