update: add if condion in form.save id the parameter data is not null then add the form data in the all object of data parameter variable an if the data variable is null then add the form data in an array