change server code