change group to team
fix commad to update permissions
get team permissions
fix roles
bug fixes