edit controldb.php