updating composer logic