update pupup window