update reference.