update python extension