How to use PDO to update the database?