change model and added ERD