Do not hide metrics when search string is short
taken from https://github.com/vs-networks/graphiti/commit/55272182fd0d7a6091982985dfa3bb4c7e74f8c6
rename "update" to "save"
taken from https://github.com/pulseenergy/graphiti/commit/dfff814e501c0d9a8ba08a0da4a1206ebcf80643
Reset searching flag on error in JavaScript ...and fix error in Metric.find
taken from https://github.com/vs-networks/graphiti/commit/4974ff95ff6c6a271e61f133c7370ad7f445b9f8