save configs in metadata