Edit statement detail