update style for carousel