updated application to work with latest titanium version and fixed the update issue