implement edit for frogs