fix customer search bug, and improve edit function(PRODUCTION)