update collect.hs