changed from sqlite to postgres
improved efficiency of karma update
don't dump to console after karma update
added sleep before karma update