Update implementation of ERD package