Update DDA.m