Update moadb.php