update code card and add icon