Update query.coffee