Refactor of search-service.js, update() no longer returns promise.
Refactored search service, now returns data instead of promise.
Merge branch 'Task_10'