bring demo apps in-line with API changes