update composer
add threshold fallback