fixed alarm and location updates