added logging to onServerUpdate