update composer before running scripts

[skip ci]