updated tex structure