update git documents and update index