updated ERD
updated rules