update to use SMIE engine.