use a different method to add sec group to the instance

Change-Id: I3722100846bfda38df6a11eacd75ad35f4aa85a6