imported some waves 0.54 changes
fixed bugs with waves update