template 0.9 preupgrade