-update app delegate