changed all byte[] to blobs