index update is confused