Update dir refs.