support for setting the database fruits and setting the main database