added register activity again, fixed update location