Updating search endpoint