Change roles to assignedRoles