update dates format