fix worker resource update bug
Merge pull request #249 from huafengw/worker

fix worker resource update bug