fix update repositories