Fixed bug in Api.UpdateDraft