def update_param_vals(pars, prefix, **kwargs):
    """Update parameter values with keyword arguments."""
    for key, val in kwargs.items():
        pname = '%s%s' % (prefix, key)
        if pname in pars:
            pars[pname].value = val
    pars.update_constraints()
    return pars
