Any reason we're not using the $wpdb::update() method here?  Assuming it was just copy/paste?