Update logicinpython