update repositories