updated data models and provided modals to show element data