update block template