update Fibonacci code