fix refresh problems, add refresh info on web page