odd that you are using attributes and then values both to refer an objects attributes. Change the second to 'attributes'?

Did you do use 'value' because it won't update if you change the models attributes or the model itself?