update Pascal's Triangle