use location details while editing