update database.tex + diagrammer/billed update