Location update/insert functionality updated