add manifest into metadata