Update gain loss configuration

Update gain loss configuration using data from request body.

Language