populate the role's data into template's tab
remove unused fields