Add update_temp script and tweak partial.