update popup structure