rebuild dependencies according to current repo situations