update example app after refactroing