fix edit funtion and adjust the cell height.
search function and minor adjustments.