working on option group edit records