Update elements.