Added edit time entry function.