update the antx-autoconfig version and refactor the code