remove drafts and update code block