database.php update