fixed logic for composer updates