New function update_icon_pixmap