add the possibility to change the database