updates Param