updated server-all class