update popup class