rewrite updatesite