update patch (keys)