updated app and shared code