Match descending blocks first
Optmize sql on updates
Optmize sql on updates
Optmize sql on updates