Updated Edit function was missing # symbol. added old search fucntion, but still need to convert to jquery