update repositories to install packages