Implemented edit/update