update loading animation