Update detail template