fixed bug in updateMusic