add update static file to do pagination instead of infinite scroll