edit location works