Add char index update method, and use it in game::reassign_item.