Add code to execute "apt-get update" after adding a new repository