update the area average example