add metadata manager