finalize portal updates file