updated popup on content changes