change year data function