Updates the date