Update game_server.js

Update functions