Updated medium text example to the correct example