Update API script files.

Note: the db_con.php won't be committed to github, because it contains
db password.