update require to require-package to auto install package