update python slide