update registration using template