added heroic code update