change weights for circles and lines