I assume you have applied for visa using your old passport before, and you are asking about how to change the passport number in your account profile, rather than how to change the number in DS160. You may submit a request on the visa appointment website, attaching photocopies of your old and new passports. If there's no response, you may call their customer service.