Updating how styles are added in the style param