Fixed PDO update and insert calls
Merge remote-tracking branch 'origin/master'