Added feature of edit location