updating tool index