Updating strings for Python 3