Revert "Fixed sm_config added user wite to update files"

This reverts commit 3ac1e5bdf71b9599a0c88b045050032e9fd920ae.
Revert "Revert "Fixed sm_config added user wite to update files""

This reverts commit e1a81e6996fea31dfdd7d7ad3bdc8b33ea3ed9fc.
Revert "Revert "Revert "Fixed sm_config added user wite to update files"""

This reverts commit 35d613a4ae85f2421d35d71f04cd7c34a02c86ba.