update metadata in manifest