update block entity