fix(Legacy: Headz): update SQL and db name