add logic of when updated the model won't update again