Update for factorial.