added the ability to edit components