updated index by invoice