edit name function update issue