Renaming tag->id and old id->tbid in mysql tables