Update sm.erb