update .cabal-file if it exists