update code, 2014-02-17, by diwen