block template, update block