update index reference