Modify visitor API database check.