updates json and js for new KB