implemented edit actions