update code and log at 2014/12/24