update repos and lib