update sound and sound logic