Replace app key