update job state after being resumed
Merge pull request #74 from wtangiit/master

minor fix