from typing import Union
from typing import Tuple
from typing import List


def increase_version_number(version_buffer: Union[Tuple[int, int, int], List[int]]) -> List[int]:
    """
    Increases the number of the version with an increment of 0.0.1.

    Args:
        version_buffer: (Union[Tuple[int, int, int], List[int]]) the verion to be increased

    Returns: (List[int]) the updated version
    """
    first: int = version_buffer[0]
    second: int = version_buffer[1]
    third: int = version_buffer[2]

    third += 1
    if third >= 10:
        third = 0
        second += 1
        if second >= 10:
            second = 0
            first += 1

    return [first, second, third]