update dependencies
support versions of validator without getConstraint method