added template for metastore