check diff of stored and new uidlist, fix delete index bug