update readme and example app for latest api