Added change date functionality