Added scaling parameter for dx update