updates on printIndex & deleteEntry