update python2 support