Update existing variables inside blocks.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>