update Server class