template register updated