updated the http example to use the new collection and model