Add autoSetRoleBadge method to simplify the work that is needed to be done