Updated database

Changed some code in the database.