change name of the database
some changes in the query