Proper indentation added for nested blocks, but blocks not being updated properly.