update index first try