added ability to edit components