added  group coding in editregisteration