finish update to json stuff