update repos method in repo model