changed the database diagram