setting refresh