update index docs
fix spatial calc