update validation sample