Update validation.cpp