can now delete all items and updates depend on the database