update dependency; fix moving average alignment