update composer file with package details