update api for search vacancies