adding interval refresh