adjust weights