update Smain