Servicing TED RESTful updates (using sinatra instead of rails)