updating server.py file