Update extension example for tasks