adding constratins and indices to Entity_groups