server example updated