add oldvalues attribute in task objects