Fixed updating repositories.