Upgrade 'smex'