update block attribute handling