I made a function (createUpdate) in my controller that creates and submits a form which works (database is modified), but the redirection gives me an error Some mandator