refresh package when contents is empty