update animation and spinner css