updating app structure