update style for loading