Revert "update code"

This reverts commit 3182fbe6f03362166282b442e35866be54d3d231.