creating groups and reverting overwritten categories models