Update contents.php