update readline.py