onServerUpdate correctly called