{"name": "Failed", "value": document.getElementById("Failed").checked });
            return JSON.stringify(filters);
        }

        function update_filters() {
            $.when($.ajax({
                 type: "GET",
                 url: "update_upcoming_filters",
                 success: function(response) {
                    obj = JSON.parse(response);
                    if (obj['status'] == 'success'){
                        obj_filters = obj['filters'];
                        wantedcount = 