update examples
add get dimension by role