added cancel on name update
Implemented name update functionality