Update Calculates the Nth Factorial