update index float