fix conflict between update in the dict, and update_repo. test adding file,
updating.