updated root to pins index