update writing as resources