update block_code
update links