Update static/class.database.php