updated database to the first pritout of the entity relationship diagram