nginx upgrade script