Add functionality to update member roles.

[Skip ci]