Adds original CPW id to the database.