update diary classes
Merge pull request #1 from xiaolixiaoyi/master

update diary classes