create and delete documents