update code index ok