updated dates to affect the order in view