update second table