update client/controllers/server.js