updated function/classes indices