trying one more thing tonight, missed a mutex_unlock in update_state