removed static method in task.cs and replaced with sqlupdate
Merge pull request #139 from rhsu/fixupSp

removed static method in task.cs and replaced with sqlupdate