task relations updating functionality