update delete function for location manager