update algo and allow GUI to play with that algo