added database and updated er diagramm