append update_roles(), and fixes crud of roles

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>