Fix market detect update