Revert "function update"

This reverts commit 837ef987bb80e8436a7a5b3774783beb8e7ee376.