added line to update cards when ring shape changes, and tied width attribute is resizeRing to argument from button click function