add custom update.
Merge pull request #6 from nxzhou91/master

add custom update.