Renamed the 'rename' function to 'edit'.