fix last update and fix last refresh
Merge pull request #171 from avelino/master

fix last update and fix last refresh