Fix issue with updating attributes will not update the corresponding visual elements.