update setting for compass.