Made changes so that server is updated periodically