update noise function example