Add update + join support.

This currently only works in MySQL. Additional work will be needed to
make it work with postgres + sqlite.
Fix typo that was causing tests to fail.