Update elements and library