Update before installing ant,foul language removed

Updated the script to run update before installing ant to ensure the latest available ant version in the repo is installed