update wave