updating composer, fixing env errors