upgrade script should not delete non-hidden groups