PDO adapter fixes for update()
Minor code formatting