update package info
using minimatch instead of regexps