deleted and modified tinydb