update the json and js for generating fmus