storing drafts, updating and deleting docs