changing ending date