Add config role
Add upgrade detection