updated merged changes to use proper PDO function rollBack()