Fix database

Adding more info to the database and set levels.