Update latex settings