refactored update_from_params_for_languages