Update elements with other classes