update error pages in examples
update package.jsons
update chat to new apis
update todos example