added newdata to constructor object, fix for cancelled validation