clean up and call sound on each update