update validation and alert messages