Updates composer.json and removes undeleted files