update app code