Update factorial