update the overall market logic