update tera resource