add destroy, update server functions