update er-diagram