setting active date