add component edit component