Update Python interface