Update postgres_db_writer.rb