Update version, fix indexing bug