update new image and add figure class