Updated block size on image writting