improved search editing