updating group to be idempotent