add deprecated index"
Signed-off-by: Guohua Ouyang <ouyanggh0815@gmail.com>