Update rep.php