auto refresh when running as a server