update block elements