add role attribute