updates the manifest