update portal structure