Elevation crane rope and cargo movement

Thanks, the cables work fine and their physics system is completely suitable for everything I want to do. But now I have another problem. Since cargo movement is restricted with Physics Constraint and Cable is just a decoration, how can I change the Constraint length? I mean the situation, when crane’s hook is going up or down.