update server class