Updated package validation