Modified prettyPrint and updateLastNode functionalities in App.js when node type is bookmark lookup and its first child type is index lookup