While your answer is correct and solves the problem, a different one appears. The image, a gif, is not animated any more.
Animation worked before when updating was done by reseting the whole view.
@Chris-Kawa thanks, i now see the thing.
I've found example http://doc.qt.io/qt-5/modelview.html#2-5-the-minimal-editing-example but it use QAbstractTableModel and i'm using a QSqlRelationalTableModel instead of QSqlTableModel.
Will it still works for relations ? I can't found an Abstract for RelationalTableModel.