update manifest to be valid