Why do you need to call updateModel here, but you did not in addEntry?