update role by using bitmap