various changes to staged index