updating index to see if changes take place in origin