Update base.py

Enable autocommit behaviour