update compass.h