update metrology.php