removed update script rewrite dir