update manifest, remove unused resources