update composer sample