change the ending date