update conventino example with current best practice