Wrong index in update for new_in_1_0_2

Signed-off-by: emanuele <emanuele45@gmail.com>
Merge pull request #1922 from emanuele45/mind

Wrong index in update for new_in_1_0_2