publish to sm