fix user groups migrations