update the packages after adding a new repository