updated server example