updating the date