edit database, use PDO, edit views