updated search saving in db engine