updating better solution