Updates the date based on current date