updated detection