validate add package