Repository array is now updated everytime the user exits vim