updated music functions