updated to correct dbname