delete documents after create/update call