add erd and generate schmea diagram