update logic  model