updated psqlite to pg
add a well div and title