update block UI