update param groups, outputs, and cleanup