Fix udpate taskjob for deploy tasks. closes #2040