Writing the database informations