updating server to handle requests from multiple clients