Update refcodes.