update composer to register namespace