Implemented edit functionality in new interface