Only update cd if it's lower than what we have.