Add edit name functionality