update to validator module and implementation to version 3.x