Revert "remove update function. Test1"

This reverts commit 359a537640e0f22c4b61c1be613440ec4ef1a5be.
commit test2