updating better solutions