facts are not sufficient to answer your query, however, from the available facts I can advise you that if during the investigation police find someone innocent then police removes his name from the charge sheet and the allegations got removed against him.
if police assured you that they will remove your name, then let them do, don't PANIC.
if possible provide a copy of FIR to get a more clear reply.
a detailed discussion will surely fructify for you.