implemented delete draft with dependencies