Update query.
Added a few more update query tests & fixed a few things.