I don’t think you can install application using the fwupdate. Did you try installing your legato application using instapp ?
If you have not tried with instapp, Please try with the below example command to install the legato application.
instapp update_file DEST_IP
update_file is your application and DEST_IP is the IP address of the module(FX30S).