add role and group so agent can update the status