Update searchByCriteriaService.js