update general validation on reame to use a callback