Improvements/mirna to postgres