Added Function to delete Diagramm from Database