update corehq ref