Update master.php