upgrade Voigt/fig3 for new API