$(document).on('change', '.secondary', function(){
    id = this.id;
    $(".secondary#"+id).prop('disabled', true);
    $.ajax({
      type: 'patch',