Update fail docs for new syntax

Use when instead of only_if
Use new variable style