update r example transform