Update weightmaster.php