update example application with new features