update block element