update sf lib and mod