Merge pull request #29 from jassal/K2

added check to avoid update call for empty search box