update LD calculations