New icon_update_pixmap helper function