Update server.py

more updates