Added edit function for changing name of trail.