Update rest.coffee