Modify role repository.