edit for multiple roles for different team id.