fix update validation