Change root path to the pins index