update validation sketch/logic