change end time