Apt update

Do one apt update per repository added
    
This is needed if you want to be able to add repositories in differentstages.

Or if one repository needs packages from another repository, so it needs to add one of them, do a apt update and then install the needed packages and then add the second repository.