Updated the data-update attribute to reflect id and class addition