set role in base.