add files and code upgrade