updating the parent_id column to an integer