Edit name function.