fixed add_role typo and updated set roles to be an array