update app id & key