Update latch.php