add additional validation to update