only respond to update messages
added some simple statistics
added client disconnect handling