Update model.coffee