Update Pure prompt & add error code if != 0