updated composer for example apps

issue #439