updated example for Mojolicious 5.40