before upgrade static content