update repositories.