Update TaskContract