updates app structure