changed end time for json data