Make updating totalEstimate work

-Fix small bug with wrong requirementId being removed
-Add setTotalEstimate