Update key iterators of database