changes added due to the parent_id removal from tag table

changes added due to the parent_id removal from tag table
again