Edit Logic Implemented