Updating parameters and use of media in gapfill method