fix website to use new python api