updated server to work with latest version (i hopes)