added editing function and delete