add some wrapper for update

Signed-off-by: Hake Huang <hakehuang@gmail.com>