minor updates on server code