pdo helper partial fix

updateData uses prepared statement