update server.py

had to change fix stuff for server