updating the offline page