updated of the vacancies controller