update app directory