some updates for index scan