fix bug in detector page, color circles on update