updates initial time adjustment logic so that the time can be moved backward as well as forward