added possibility to edit the latest time value