Fixed issue with index not incrementing.
Update version