refresh package contents properly