Updaing theme for $TERM handling