change the date element