update maxpointsonaline