Update to elements.php