# How to update record

**URL:** <https://discuss.emberjs.com/t/how-to-update-record/6371>\
**Category:** Ember Data\
**Created:** [September 28, 2014, 11:29pm UTC](https://discuss.emberjs.com/t/how-to-update-record/6371 "2014-09-28T23:29:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jFranciscov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jfranciscov/32/9465_2.png) [@jFranciscov](https://discuss.emberjs.com/u/jFranciscov)\
**Post date:** [September 28, 2014, 11:29pm UTC](https://discuss.emberjs.com/t/how-to-update-record/6371/1 "2014-09-28T23:29:10Z")

</div>

I have a list of items, so when I link to a item I want to show all the UPDATED information of that item:

```
App.ItemsRoute = Ember.Route.extend({
  model : function(){
    return this.store.find('item');
  }
});

App.ItemRoute = Ember.Route.extend({
  model : function(params){
    return this.store.update('item', { id : params.id});
  }
});

```

But this isn’t triggered, how can I achieve this?

---

<div class="post-metadata">

**Author:** ![jFranciscov](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/jfranciscov/32/9465_2.png) [@jFranciscov](https://discuss.emberjs.com/u/jFranciscov)\
**Post date:** [September 29, 2014, 1:55pm UTC](https://discuss.emberjs.com/t/how-to-update-record/6371/2 "2014-09-29T13:55:29Z")

</div>

Solved:

```
 App.ItemRoute = Ember.Route.extend({
    model: function(params){
      return this.store.find('item', params.id);
    },
    setupController: function(controller, model){
      controller.set('model',model);
      controller.get('model').reload();
    }    
});

```

This worked for me,
