Some updates for python