Rewrite settings update logic taking into account strong parameters.