updata project's main code
url rewrite setting