update for haskell