Update code about composer file.