update refresh.lua