Update common_sql.php