update with latex template