regulation of metabolic process