Added support for updating repositories.