MarionL - added update method to the TaskDAO

Added update method to the task dao. Added a corresponding junit test
for it as well.