Update app/views/api/models.md

I just tried this in Chrome console and it didn't work, apologies if I'm missing something but I think you need to have brackets to create the Object you're passing into updateAttributes?