update and clean up cabal file