Changed database name in sql-queries.