Add optimal bruteforce algorithm
Update data