Add Edit and End Function

Add Edit and End Function,not delete function.