updated latex doc