Update code example
Move Ajax check after the taxonomy create and delete hooks