Updated tasks example to use the fixes in okapi