update an icon