update cetegory tree js