Delete documents, update settings