Update validator to allow for data to be set outside the constructor

If i'm in a loop in bulk insert I don't have to re-create a validator object each time. So new function to allow for setting the data to be validated.