Updates libs/validation creating a struct