Where is resizeRowsToContents() supposed to be called when the model gets updated?