Set draft function

was not setting vars like status and brouillon