update sound and pause game