server code modify