It has become easier to do any kind of correction in the passport, for whatever correction you want to make in the passport, first of all, you have to register on its website. If you are already registered, then you just have to log in by clicking on the link given above.
These documents have to be given -
Old passport (original),
Self-attested photocopy of first and last two pages of passport,
New ID certificate,
Gazette notification of name change,
Court order (if add some add or delete in the name) and
You will need to keep proof of your new name document. If you have the wrong spelling of the name in the new passport, then immediately submit it to the Passport Office. You will have to apply for a passport online again.
Click the link and download the form. The form has to be filled online and saved and the same form has to be uploaded online. A printout of its form will have to be taken out and submitted to the Passport Office appointment will have to be taken. At the time of appointment, forms, original documents and self-attested copies along with these will have to be submitted to the Passport Office.
After this, your document and police verification will be done. After this, the department will send the corrected passport through the post at home.