Update composer and index