fixed 500 issue in update taxonomy