some more modifications to roles and permissions migration