updating flashes styling