Update popup after item is opened