change to the way the controller handles date changes