update compass