Update and rewrite parts