Update repositories and packages