Bugfix with postgresql blob, batch update, some improvements