added v2 of update_gits