update xtemplate loader params