See description

Fixed the update query, finished queries 3 and 7, added row count to the
output