turning logic update