Adding better transaction date change function