update data validation