Upgrade deprecated jade templates