update sec hack new function