update finish time