Update composer
Check if current route match a pattern