update validation func