update some code for this utils